Added a comment: ViFM Plugin Which Partially Solves The Issue
authorpsxvoid <psxvoid@web>
Tue, 31 Dec 2024 06:16:08 +0000 (06:16 +0000)
committeradmin <admin@branchable.com>
Tue, 31 Dec 2024 06:16:08 +0000 (06:16 +0000)
doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_5_a1d1c2bf6e9e181f472aee8fef28795b._comment [new file with mode: 0644]

diff --git a/doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_5_a1d1c2bf6e9e181f472aee8fef28795b._comment b/doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_5_a1d1c2bf6e9e181f472aee8fef28795b._comment
new file mode 100644 (file)
index 0000000..bda16dc
--- /dev/null
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="psxvoid"
+ avatar="http://cdn.libravatar.org/avatar/fde068fbdeabeea31e3be7aa9c55d84b"
+ subject="ViFM Plugin Which Partially Solves The Issue"
+ date="2024-12-31T06:16:08Z"
+ content="""
+I wrote a proof of concept [plugin](https://github.com/psxvoid/vifm-git-mv) for [ViFM](https://github.com/vifm/vifm) which allows to move files around and replace `mv` command for such moves with `git mv`. It partially solves the issue - git detects such moves as renames. But because git annex makes \"fixup\" for symbolic links in pre-commit hook, then git detects file change as well. A workaround to this might be separating those operations into two commits - one with rename and another one with symlink fixup. However, I wish it were possible to do this in a cleaner way.
+"""]]